package org.aswing;

extern class AssetPane extends Container {
	function new(?p0 : flash.display.DisplayObject, ?p1 : Int) : Void;
	function getActualScale() : Int;
	function getAsset() : flash.display.DisplayObject;
	function getAssetOriginalSize() : org.aswing.geom.IntDimension;
	function getCustomScale() : Int;
	function getHorizontalAlignment() : Float;
	function getOffsetX() : Float;
	function getOffsetY() : Float;
	function getPrefferSizeStrategy() : Float;
	function getScaleMode() : Int;
	function getVerticalAlignment() : Float;
	function isAssetVisible() : Bool;
	function isLoaded() : Bool;
	function isMaskAsset() : Bool;
	function reload() : Void;
	function setAsset(p0 : flash.display.DisplayObject) : Void;
	function setAssetVisible(p0 : Bool) : Void;
	function setCustomScale(p0 : Int) : Void;
	function setHorizontalAlignment(?p0 : Int) : Void;
	function setMaskAsset(p0 : Bool) : Void;
	function setOffsetX(p0 : Float) : Void;
	function setOffsetY(p0 : Float) : Void;
	function setPrefferSizeStrategy(p0 : Float) : Void;
	function setScaleMode(p0 : Int) : Void;
	function setVerticalAlignment(?p0 : Int) : Void;
	function unloadAsset() : Void;
	private var asset : flash.display.DisplayObject;
	private var assetContainer : flash.display.DisplayObjectContainer;
	private var assetMask : flash.display.Shape;
	private function applyMaskAsset() : Void;
	private function loadFloor() : Void;
	private function resetAsset() : Void;
	private function setAssetOriginalSize(p0 : org.aswing.geom.IntDimension) : Void;
	private function setLoaded(p0 : Bool) : Void;
	private function storeOriginalScale() : Void;
	static var BOTTOM : Int;
	static var CENTER : Int;
	static var LEFT : Int;
	static var PREFER_SIZE_BOTH : Int;
	static var PREFER_SIZE_IMAGE : Int;
	static var PREFER_SIZE_LAYOUT : Int;
	static var RIGHT : Int;
	static var SCALE_CUSTOM : Int;
	static var SCALE_FIT_HEIGHT : Int;
	static var SCALE_FIT_PANE : Int;
	static var SCALE_FIT_WIDTH : Int;
	static var SCALE_NONE : Int;
	static var SCALE_STRETCH_PANE : Int;
	static var TOP : Int;
}
